<?php
include("../config.php");
include("../inc/func.php");
include("../db.php");
loginCheck();
$debug = TRUE;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php site_title();?> Control Panel</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="wrap">
  <div id="head">
    <div id="title"><?php site_title(); ?><div class="gotosite"> <a href="../">Go to your site &raquo;</a></div></div>
  </div>
  <div id="nav">
    <ul>
      <li class="current"><a href="index.php">Main</a></li>
      <li><a href="post.php">Post</a></li>
      <li><a href="manage.php">Manage</a></li>
      <li><a href="theme.php">Themes</a></li>
      <li><a href="options.php">Options</a></li>
    </ul>
  </div>
  <div id="content">
  <div id="postlinks">
	<div class="postlink"><a href="post.php?type=text">Post some text</a></div>
	<div class="postlink"><a href="post.php?type=link">Post a link</a></div>
	<div class="postlink"><a href="post.php?type=quote">Post a quote</a></div>
	<div class="postlink"><a href="post.php?type=image">Post an image</a></div>
	<div class="postlink"><a href="manage.php">Manage your posts</a></div>
	<div class="postlink"><a href="theme.php">Change the look</a></div>
	<div class="postlink"><a href="options.php">Configure your site</a></div>
  </div>
  <?php include("update_check.php"); ?>
  </div>
  <div id="footer"><?php LIversion(); ?></div>
</div>
</body>
</html>
